<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath }"/>
<c:forEach items="${allWuZiList }" var="u" varStatus="index">
	<tr>
		<td>${index.count }</td>
		<td>${u.ziChanBH }</td>
		<td>${u.wuZiMC }</td>
		<td>${u.wuZiLB.leibieMC }</td>
		<td>${u.guiGeXH }</td>
		<td>${u.cunFangD }</td>
		<td>${u.shiYongZT.zhangTaiMC }</td>
		<td>${u.dep.depName }</td>
		<td>${u.user.name }</td>
		<td>
			<c:choose>
				<c:when test="${u.wuZiLX==1 }">固定资产</c:when>
				<c:when test="${u.wuZiLX==2 }">低值易耗品</c:when>
			</c:choose>
		</td>								
		<td>
		<a class="btn default btn-xs green-stripe" href="${ctx }/wuzi/wuZiDetail.do?id=${u.id}" target="_blank">物资详情</a>
		</td>
	</tr>
</c:forEach>